package com.szewec.ps.model.task;

import com.szewec.ps.model.Meta;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

public class TaskDTOModel {
    private Meta meta;
    private String msg;
    private TaskDetailModel data;
    private Integer code;

    public static class TaskDetailModel implements Serializable {
        private static final long serialVersionUID = 540440326080378507L;

        private String id;
        // 项目ID
        private String projectId;
        // 任务编号
        private String taskCode;
        // 任务状态：1-未开始、2-进行中、3-已完成、其他待补充
        private Integer taskStatus;
        //调查类型：1-基础设施调查、2-交通量调查
        private Integer surveyType;
        // 任务事项
        private String taskMatter;
        // 任务描述
        private String taskDesc;
        // 任务开始时间
        private Date taskStartTime;
        // 任务结束时间
        private Date taskEndTime;
        // 调查对象列表
        private List<SurveyObjectModel> surveyObjectList;
        // 任务人列表
        private List<TaskUserModel> workerUserList;
        // 抄送人列表
        private List<TaskUserModel> ccUserList;

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getProjectId() {
            return projectId;
        }

        public void setProjectId(String projectId) {
            this.projectId = projectId;
        }

        public String getTaskCode() {
            return taskCode;
        }

        public void setTaskCode(String taskCode) {
            this.taskCode = taskCode;
        }

        public Integer getTaskStatus() {
            return taskStatus;
        }

        public void setTaskStatus(Integer taskStatus) {
            this.taskStatus = taskStatus;
        }

        public Integer getSurveyType() {
            return surveyType;
        }

        public void setSurveyType(Integer surveyType) {
            this.surveyType = surveyType;
        }

        public String getTaskMatter() {
            return taskMatter;
        }

        public void setTaskMatter(String taskMatter) {
            this.taskMatter = taskMatter;
        }

        public String getTaskDesc() {
            return taskDesc;
        }

        public void setTaskDesc(String taskDesc) {
            this.taskDesc = taskDesc;
        }

        public Date getTaskStartTime() {
            return taskStartTime;
        }

        public void setTaskStartTime(Date taskStartTime) {
            this.taskStartTime = taskStartTime;
        }

        public Date getTaskEndTime() {
            return taskEndTime;
        }

        public void setTaskEndTime(Date taskEndTime) {
            this.taskEndTime = taskEndTime;
        }

        public List<SurveyObjectModel> getSurveyObjectList() {
            return surveyObjectList;
        }

        public void setSurveyObjectList(List<SurveyObjectModel> surveyObjectList) {
            this.surveyObjectList = surveyObjectList;
        }

        public List<TaskUserModel> getWorkerUserList() {
            return workerUserList;
        }

        public void setWorkerUserList(List<TaskUserModel> workerUserList) {
            this.workerUserList = workerUserList;
        }

        public List<TaskUserModel> getCcUserList() {
            return ccUserList;
        }

        public void setCcUserList(List<TaskUserModel> ccUserList) {
            this.ccUserList = ccUserList;
        }
    }

    public Meta getMeta() {
        return meta;
    }

    public void setMeta(Meta meta) {
        this.meta = meta;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public TaskDetailModel getData() {
        return data;
    }

    public void setData(TaskDetailModel data) {
        this.data = data;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }
}
